#pragma once


// CToolBarLabel

class CToolBarLabel : public CMFCToolBarButton
{
	DECLARE_SERIAL(CToolBarLabel)

public:
	CToolBarLabel(UINT uiID = 0, LPCTSTR lpszText = NULL);
	virtual ~CToolBarLabel();

	virtual void OnDraw (CDC* pDC, const CRect& rect, CMFCToolBarImages* pImages, 
						 BOOL bHorz = TRUE, BOOL bCustomizeMode = FALSE,						BOOL bHighlight = FALSE,						BOOL bDrawBorder = TRUE, 
						 BOOL bGrayDisabledButtons = TRUE);   	

	virtual BOOL IsEditable () const	
	{
		return FALSE;
	}

	virtual SIZE OnCalculateSize(CDC*pDC,const CSize&sizeDefault,BOOL bHorz);

};


